home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / twoforms.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  970 b   |  29 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987,1998 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------
  6. #include <vcl.h>
  7. #pragma hdrstop
  8. //---------------------------------------------------------------------
  9. USEFILE("readme.txt");
  10. USEFORM("First.cpp", Form1);
  11. USEFORM("Second.cpp", Form2);
  12. //----------------------------------------------------------------------------
  13. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  14. {
  15.     try
  16.     {
  17.     Application->Initialize();
  18.     Application->CreateForm(__classid(TForm1), &Form1);
  19.     Application->Run();
  20.    }
  21.    catch (Exception &exception)
  22.    {
  23.       Application->ShowException(&exception);
  24.    }
  25.  
  26.    return 0;
  27. }
  28. //---------------------------------------------------------------------
  29.